package com.blog.mapper;

import com.blog.bean.StayWord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface StayWordMapper {
    int deleteByPrimaryKey(@Param(value = "stayWordId") Long stayWordId);

    int insert(@Param(value = "stayWord") StayWord stayWord);

    int insertSelective(@Param(value = "stayWord") StayWord stayWord);

    StayWord selectByPrimaryKey(@Param(value = "stayWordId") Long stayWordId);

    int updateByPrimaryKeySelective(@Param(value = "stayWord") StayWord stayWord);

    int updateByPrimaryKeyWithBLOBs(@Param(value = "stayWord") StayWord stayWord);

    int updateByPrimaryKey(@Param(value = "stayWord") StayWord stayWord);

    List<StayWord> selectStayWord(@Param(value = "stayWord") StayWord stayWord);
}